home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
library
/
mufsdlgt.lha
/
DO_Logout
next >
Wrap
Text File
|
1996-02-04
|
1KB
|
31 lines
; this will only work with Dopus5 running as WB replacement
; your startup sequence must look like this where Dopus (loadwb or loadDB)
; c2:login >nil: guest GLOBAL
; c:LoadDB
; c2:login >nil: guest task DO_LAUNCHER global
; this will log in user 'guest' on startup (I don't have a passwd for guest
; so that my computer will startup without creating a login request)
; it will also log in guest to DO_LAUNCHER task.
; mprotect [this file] srwed group r other r
; CHANGE c2: to the path where YOUR mufs commands are located!
;**** logout all users associated with task dopus - no login requestor yet
c2:Logout >nil: task dopus global quiet all
;**** logout DO_LAUNCHER task (this is why this script must be ran from Dopus)
c2:logout >nil: gui global
;**** get username of DO_LAUNCHER / this script into $dopususername
c2:who >env:dousername am i quick
;**** login task dopus with username (all users except root will have to
; supply passwd twice on login
c2:Login >nil: $dousername task dopus gui global